This structure contains information about several options available with report groups. This information is used by CRPEJob::GetGroupOptions, to retrieve current options and by CRPEJob::SetGroupOptions, to pass new option settings.
Each data member is set by the corresponding constructor parameter.
Member | Type | Default | Description |
---|---|---|---|
Specifies the condition setting for the selected group section. See Remarks below. | |||
Specifies the field name of the group field (of size PEP_FIELD_NAME_LEN = 512), or remains empty for no change. | |||
Specifies the sort direction. Uses one of the PEP_SF_XXX Sort Order Constants or PEP_UNCHANGED for no change. For group conditions only, use PEP_SF_ORIGINAL for original order or PEP_SF_SPECIFIED for read | |||
Use one of the following PEP_GO_TBN_XXX constants or PEP_UNCHANGED for no change. | |||
Constant | Description | ||
There is no group sorting or Top/Bottom N for this level of grouping. | |||
Member | Type | Default | Description |
Specifies the name of the summary field (of size PEP_FIELD_NAME_LEN = 512) by which the groups are ordered, or remains empty for no change. | |||
Determines whether the remaining groups are collected into an Others group or discarded. BOOL value, or PEP_UNCHANGED for no change. | |||
Boolean. Specifies whether or not to do hierarchial sorting. | |||
Specifies a pointer to the name of the instance ID field (of size PEP_FIELD_NAME_LEN = 512) for hierarchial sorting. | |||
Specifies a pointer to the name of the parent ID field (of size PEP_FIELD_NAME_LEN = 512) for hierarchial sorting. | |||
This constructs a CRPEGroupOptions structure object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.
CRPEGroupOptions (
short condition,
_TCHAR *fieldName,
short sortDirection,
short repeatGroupHeader,
short keepGroupTogether,
short topOrBottomNGroups,
_TCHAR *topOrBottomNSortFieldName,
short nTopOrBottomGroups,
short discardOtherGroups,
short hierarchicalSorting
_TCHAR instanceIDField
_TCHAR parentIDField
long groupIndent );
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |